home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2006 May
/
PCWMAY06.iso
/
Software
/
Freeware
/
First Page 2006 3.00
/
fp2006-final-3.00-setup.exe
/
{app}
/
Iscripts
/
Forms Misc
/
field-show.izs
< prev
next >
Wrap
Text File
|
2005-09-28
|
3KB
|
97 lines
<!NOWIZARD>
<!TITLE>Field Show
<!/TITLE>
<!DESCRIPTION>Use radio buttons to display a field for your users to add input to your forms. <!/DESCRIPTION>
<!CATEGORY>Forms<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<!-- HOW TO INSTALL FIELD SHOW:
1. Copy code into the HEAD section of document
2. Put last coding into the BODY section of document -->
<!-- STEP ONE: Add code into HEAD section of document -->
<HEAD>
<script language="JavaScript">
<!-- Original at: http://hotarea.com/ -->
<!--
function showDiv( id ) {
document.all.textBox01.style.visibility = 'hidden';
document.all.textBox02.style.visibility = 'hidden';
document.all.textBox01.value = '';
document.all.textBox02.value = '';
document.all[ id ].style.visibility = 'visible';
document.all[ id ].focus();
}
-->
</script>
</HEAD>
<!-- STEP TWO: Add code into BODY section of document -->
<BODY>
Add your e-mail address here: <input type=radio name=radioBtn onClick="showDiv( 'textBox01' );">
<input type=text name=textBox01 size=30 style="visibility:hidden">
<br><strong>OR</strong><br>
Give us your FAX number: <input type=radio name=radioBtn onClick="showDiv( 'textBox02' );">
<input type=text name=textBox02 size=20 style="visibility:hidden">
<!-- END OF SCRIPT -->
<!/SCRIPT>
<!PREVIEW>
<!-- START OF SCRIPT -->
<!-- HOW TO INSTALL FIELD SHOW:
1. Copy code into the HEAD section of document
2. Put last coding into the BODY section of document -->
<!-- STEP ONE: Add code into HEAD section of document -->
<HEAD>
<script language="JavaScript">
<!-- Original at: http://hotarea.com/ -->
<!--
function showDiv( id ) {
document.all.textBox01.style.visibility = 'hidden';
document.all.textBox02.style.visibility = 'hidden';
document.all.textBox01.value = '';
document.all.textBox02.value = '';
document.all[ id ].style.visibility = 'visible';
document.all[ id ].focus();
}
-->
</script>
</HEAD>
<!-- STEP TWO: Add code into BODY section of document -->
<BODY>
Add your e-mail address here: <input type=radio name=radioBtn onClick="showDiv( 'textBox01' );">
<input type=text name=textBox01 size=30 style="visibility:hidden">
<br><strong>OR</strong><br>
Give us your FAX number: <input type=radio name=radioBtn onClick="showDiv( 'textBox02' );">
<input type=text name=textBox02 size=20 style="visibility:hidden">
<!-- END OF SCRIPT -->
<!/PREVIEW>
<!RELATED>NONE<!/RELATED>